//
//  UILabel+Extension.swift
//  weiboFirst
//
//  Created by ZhouRobert on 15/7/4.
//  Copyright © 2015年 ZhouRobert. All rights reserved.
//

import UIKit

extension UILabel {
    
    convenience init(color: UIColor, fontSize: CGFloat, multiLines: Bool = false) {
        self.init()
        
        font = UIFont.systemFontOfSize(fontSize)
        textColor = color
        
        if  multiLines {
            numberOfLines = 0
        }
        
    }

}
